tests: Remove redundant image from testdialog
authorAlexander Mikhaylenko <alexm@gnome.org>
Mon, 11 May 2020 15:03:51 +0000 (20:03 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Mon, 11 May 2020 15:04:23 +0000 (20:04 +0500)
tests/testdialog.c

index bc9b2af188c2b6d78399cb967557bb946436ff80..ec467c4a601fd4dc2cac0de4eff9f29b63ea66d4 100644 (file)
@@ -24,7 +24,6 @@ static void
 show_message_dialog1a (GtkWindow *parent)
 {
   GtkWidget *dialog;
-  GtkWidget *image;
 
   dialog = GTK_WIDGET (gtk_message_dialog_new (parent,
                                                GTK_DIALOG_MODAL|
@@ -34,9 +33,6 @@ show_message_dialog1a (GtkWindow *parent)
                                                GTK_BUTTONS_OK,
                                                "The system network services are not compatible with this version."));
 
-  image = gtk_image_new_from_icon_name ("computer-fail");
-  gtk_widget_show (image);
-
   gtk_dialog_run (GTK_DIALOG (dialog));
   gtk_widget_destroy (dialog);
 }